<?php
/*********************
*@param Function Description:動作之後的消息提示.
*@param time: 2011-1-25
*@param Author:abin
*********************/
echo (($this->nsession->flashdata('success')))?'<div class="message success"><p>' . $this->nsession->flashdata('success') . '</p></div>':'';
echo (($this->nsession->flashdata('error')))?'<div class="message errormsg"><p>' . $this->nsession->flashdata('error') . '</p></div>':'';
echo (isset($error) && $error)?'<div class="message errormsg">'.validation_errors('<p>', '</p>').'</div>':'';
echo (isset($upload_error) && $upload_error)?'<div class="message warning"><p>'.$upload_error.'</p></div>':'';
echo (isset($form_error) && $form_error) ? '<div class="message warning"><p>'.$form_error.'</p></div>' : '';

